/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package diet.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author DungTT
 */

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "foodID",
    "categoryID",
    "foodName",
    "imageURL",
    "calorie",
    "carb",
    "protein",
    "fat",
    "amount",})
public class FoodDTO implements java.io.Serializable {

    @XmlElement(required = true)
    private int foodID;
    private int categoryID;
    private String foodName;
    private String imageURL;
    private int calorie;
    private float carb;
    private float protein;
    private float fat;
    private String amount;

    public FoodDTO()
    {

    }

    public FoodDTO(int foodID, int categoryID, String foodName, String imageURL, int calorie, float carb, float protein, float fat, String amount) {
        this.foodID = foodID;
        this.categoryID = categoryID;
        this.foodName = foodName;
        this.imageURL = imageURL;
        this.calorie = calorie;
        this.carb = carb;
        this.protein = protein;
        this.fat = fat;
        this.amount = amount;
    }

    /**
     * @return the foodID
     */
    public int getFoodID() {
        return foodID;
    }

    /**
     * @param foodID the foodID to set
     */
    public void setFoodID(int foodID) {
        this.foodID = foodID;
    }

    /**
     * @return the categoryID
     */
    public int getCategoryID() {
        return categoryID;
    }

    /**
     * @param categoryID the categoryID to set
     */
    public void setCategoryID(int categoryID) {
        this.categoryID = categoryID;
    }

    /**
     * @return the foodName
     */
    public String getFoodName() {
        return foodName;
    }

    /**
     * @param foodName the foodName to set
     */
    public void setFoodName(String foodName) {
        this.foodName = foodName;
    }

    /**
     * @return the imageURL
     */
    public String getImageURL() {
        return imageURL;
    }

    /**
     * @param imageURL the imageURL to set
     */
    public void setImageURL(String imageURL) {
        this.imageURL = imageURL;
    }

    /**
     * @return the calorie
     */
    public int getCalorie() {
        return calorie;
    }

    /**
     * @param calorie the calorie to set
     */
    public void setCalorie(int calorie) {
        this.calorie = calorie;
    }

    /**
     * @return the carb
     */
    public float getCarb() {
        return carb;
    }

    /**
     * @param carb the carb to set
     */
    public void setCarb(float carb) {
        this.carb = carb;
    }

    /**
     * @return the protein
     */
    public float getProtein() {
        return protein;
    }

    /**
     * @param protein the protein to set
     */
    public void setProtein(float protein) {
        this.protein = protein;
    }

    /**
     * @return the fat
     */
    public float getFat() {
        return fat;
    }

    /**
     * @param fat the fat to set
     */
    public void setFat(float fat) {
        this.fat = fat;
    }

    /**
     * @return the amount
     */
    public String getAmount() {
        return amount;
    }

    /**
     * @param amount the amount to set
     */
    public void setAmount(String amount) {
        this.amount = amount;
    }
    
}
